package cn.wolfcode.rbac.mapper;

import cn.wolfcode.rbac.pojo.Department;
import cn.wolfcode.rbac.util.QueryObject;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.springframework.web.context.annotation.RequestScope;

import java.util.List;


public interface DepartmentMapper {


    void insertpojo(Department department);

    List<Department> selectall();

    void save(Department department);

    Department selectbyid(Integer id);

    void updatebyid(Department department);

    void delect(Integer id);

    int countdep();

    List<Department> pageresult(QueryObject queryObject);

}
